﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Pixysoft.Framework.Reports.Core
{
    class ReportLayoutColumn : IReportLayoutColumn
    {
        int columnIndex;
        int width;
        string componentId;

        public ReportLayoutColumn()
        {
        }

        public ReportLayoutColumn(int width)
        {
            this.width = width;
        }

        public int ColumnIndex
        {
            get { return columnIndex; }
            set { columnIndex = value; }
        }

        public int Width
        {
            get { return width; }
            set { width = value; }
        }

        public void SetWidth(int width)
        {
            this.width = width;
        }

        public string ComponentCode
        {
            get
            {
                return componentId;
            }
            set
            {
                componentId = value;
            }
        }
    }
}
